﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using MyBet.Helpers;

namespace MyBet
{
	public partial class homeControl : UserControl
	{
		public homeControl()
		{
			// Required to initialize variables
			InitializeComponent();
            RichText1.IsReadOnly = true;
		}


        public void UpdateCulture()
        {
            WelcomeText.Text = LangHelper.GetString("HomeWelcomeText");
            Line1Text.Text = LangHelper.GetString("HomeLine1Text");
            Line2Text.Text = LangHelper.GetString("HomeLine2Text");
            Line3Text.Text = LangHelper.GetString("HomeLine3Text");
            Line4Text.Text = LangHelper.GetString("HomeLine4Text");
            Line5Text.Text = LangHelper.GetString("HomeLine5Text");
            Line6Text.Text = LangHelper.GetString("HomeLine6Text");
            Line7Text.Text = LangHelper.GetString("HomeLine7Text");
            ParticipateText.Text = LangHelper.GetString("ParticipateText");
            Participate1Text.Text = LangHelper.GetString("Participate1Text");
            Participate2Text.Text = LangHelper.GetString("Participate2Text");
            Participate3Text.Text = LangHelper.GetString("Participate3Text");
            Participate4Text.Text = LangHelper.GetString("Participate4Text");
        }
	}
}